-module(guard).
-export([max/2, g_or/1, g_orelse/1, g_or1/1]).

max(X,Y) when X > Y -> X;
max(X,Y) ->X, Y.


g_or(X) when (X==0) or (1/X>2) -> X*2;
g_or(X) -> false.


g_orelse(X) when (X==0) orelse (1/X>2) -> X*2;
g_orelse(X)  -> false.




g_or1(X) -> X*2.
